package com.april.pattern.behavioral.strategy;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/07/09 09:37
 * @description
 */
public class PromotionActivity {
    private PromotionStrategy promotionStrategy;

    public PromotionActivity(PromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }

    public void executePromotionStrategy() {
        promotionStrategy.doPromotion();
    }
}
